PubSub
PubSub is the architecture based on Message Channels, where Publishers post messages to the Channel, and Subscribers subscribe to channels to get Messages pushed to them
We design an entire PubSub System from scratch in this folder
The PubSub broker in the middle takes care of receiving and sending messages
PubSub brokers are different from other message brokers like Kafka by how Consumers interact with the Broker
- In Kafka the Consumers pull
- In PubSub the Consumers get pushed to
PubSub Systems in Products
Redis PubSub
Redis, being a distributed KV cache, doesn't sound like the system to use for PubSub